package com.aurora.oa.work.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/4/24 0024.
 */
public class ApproveDataBean {

        /**
         * ico : attachment/image/815c2802cff34d7292204d7af532aa45/20170411/files1491893757.png
         * createTime : 2017-04-11 13:48:07
         * postName : 经理,系统管理员
         * name : weir
         * approvalState : 2
         * title : 审批状态
         * value : 2
         */
        private HeadDataBean headDataBean;
        private List<CommonContent> commonContentBeanList;
        private ApproveFlow approveFlowBean;
        private AttachContent attachContentBean;



    public ApproveFlow getApproveFlowBean() {
        return approveFlowBean;
    }

    public void setApproveFlowBean(ApproveFlow approveFlowBean) {
        this.approveFlowBean = approveFlowBean;
    }

    public AttachContent getAttachContentBean() {
        return attachContentBean;
    }

    public void setAttachContentBean(AttachContent attachContentBean) {
        this.attachContentBean = attachContentBean;
    }

    public List<CommonContent> getCommonContentBeanList() {
        return commonContentBeanList;
    }

    public void setCommonContentBeanList(List<CommonContent> commonContentBeanList) {
        this.commonContentBeanList = commonContentBeanList;
    }

    public HeadDataBean getHeadDataBean() {
        return headDataBean;
    }

    public void setHeadDataBean(HeadDataBean headDataBean) {
        this.headDataBean = headDataBean;
    }

    public class HeadDataBean{
        private String ico;
        private String createTime;
        private String postName;
        private String name;
        private int approvalState;
        public int getApprovalState() {
            return approvalState;
        }

        public void setApprovalState(int approvalState) {
            this.approvalState = approvalState;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getIco() {
            return ico;
        }

        public void setIco(String ico) {
            this.ico = ico;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPostName() {
            return postName;
        }

        public void setPostName(String postName) {
            this.postName = postName;
        }


        }
    public class CommonContent{
            private String title;
            private String value;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public class AttachContent{
        private String title;
        private List<String> urlList;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<String> getUrl() {
            return urlList;
        }

        public void setUrl(List<String> urlList) {
            this.urlList = urlList;
        }
    }

    public class ApproveFlow{
        private String title;
        private List<FlowData> flowDataList;

        public List<FlowData> getFlowDataList() {
            return flowDataList;
        }

        public void setFlowDataList(List<FlowData> flowDataList) {
            this.flowDataList = flowDataList;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public class FlowData{
            /*      "approvalRemark": null,
                            "approvalState": 2,
                            "approvalTime": "2017-04-12 14:50:48",
                            "approvalHeadImage": "attachment/image/815c2802cff34d7292204d7af532aa45/20170411/files1491893757.png",
                            "approverName": "weir"*/
            private int approvalState;
            private String approvalTime;
            private String approverName;
            private String approvalHeadImage;
            private String approvalRemark;

            public String getApprovalHeadImage() {
                return approvalHeadImage;
            }

            public void setApprovalHeadImage(String approvalHeadImage) {
                this.approvalHeadImage = approvalHeadImage;
            }

            public String getApprovalRemark() {
                return approvalRemark;
            }

            public void setApprovalRemark(String approvalRemark) {
                this.approvalRemark = approvalRemark;
            }

            public String getApproveTime() {
                return approvalTime;
            }

            public void setApproveTime(String approveTime) {
                this.approvalTime = approveTime;
            }

            public String getApproveName() {
                return approverName;
            }

            public void setApproveName(String approveName) {
                this.approverName = approveName;
            }

            public int getApproveState() {
                return approvalState;
            }

            public void setApproveState(int approveState) {
                this.approvalState = approveState;
            }


        }
    }



}
